//
//  VideoModel.h
//  ParserXML
//
//  Created by 移云 on 2019/10/16.
//  Copyright © 2019 admin. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface VideoModel : NSObject
@property(nonatomic,copy)NSNumber *videoId;
@property(nonatomic,copy)NSString *name;
@property(nonatomic,copy)NSNumber *length;
@property(nonatomic,copy)NSString *videoURL;
@property(nonatomic,copy)NSString *imageURL;
@property(nonatomic,copy)NSString *desc;
@property(nonatomic,copy)NSString *teacher;

@property(nonatomic,readonly)NSString *time;
- (instancetype)initWithDic:(NSDictionary *)dic;
+ (instancetype)videoModelWithDic:(NSDictionary *)dic;

@end

NS_ASSUME_NONNULL_END
